package com.jeeinc.oa.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController {

	@RequestMapping("/")
	public String index() {
		return "index";
	}
	
	@RequestMapping("/admin")
	public String admin(Model model) {
		model.addAttribute("page", "/admin/wellcome");
		return "admin/index";
	}
}
